#ifndef __MYFLASH_
#define __MYFLASH_

#define LastPage 0x0800FC00


uint8_t MyFLASH_ReadByte(uint32_t Address);
uint16_t MyFLASH_ReadHalfWord(uint32_t Address);
uint32_t MyFLASH_ReadWord(uint32_t Address);
void MyFLASH_EraseAllPages(void);
void MyFlashErasePage(uint32_t PageAddress);
void MyFLASH_ProgramWord(uint32_t Address, uint32_t Data);
void MyFLASH_ProgramHalfWord(uint32_t Address, uint16_t Data);
#endif
